﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.Seven.Qi.Dto
{
    public class CreateLossReportingDTO
    {
        /// <summary>
        /// 报损单号
        /// </summary>
        [MaxLength(50)]
        public string? ReportNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(64)]
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(64)]
        public string? ProductNumber { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        [MaxLength(30)]
        public string? BatchNumber { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        [MaxLength(10)]
        public string? Unit { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? Quantity { get; set; }
        /// <summary>
        /// 报损类型
        /// </summary>
        [MaxLength(30)]
        public string? DamageType { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(300)]
        public string? Remark { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        [MaxLength(20)]
        public string? Creator { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [MaxLength(20)]
        public string? ModifiedBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifiedDate { get; set; }
    }
}
